package com.cdxy.dmr.dataObject;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户景点发帖表
 * </p>
 *
 * @author autoGenCode
 * @since 2020-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("scene_post")
@ApiModel(value="ScenePost对象", description="用户景点发帖表")
public class ScenePostDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "post_id", type = IdType.AUTO)
    private Integer postId;

    @ApiModelProperty(value = "发帖用户id")
    private Integer axUid;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "发帖图片")
    private String img;

    @ApiModelProperty(value = "发帖地址")
    private String address;

    @ApiModelProperty(value = "发帖显示时间")
    private String viewTime;

    @ApiModelProperty(value = "点赞数")
    private Integer likeCount;

    @ApiModelProperty(value = "评论数")
    private Integer reviewCount;

    @ApiModelProperty(value = "景点id")
    private Integer sceneId;

    @ApiModelProperty(value = "景点名")
    private String sceneName;

    @ApiModelProperty(value = "经典图")
    private String sceneImg;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
